<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<div class="merge hider mergecontent"></div>
<div class="logouter hider mergecontent" id="loginregister"></div>
<header class="flex header">
	<div class="flex flex_center logo">
		<img src="images/logo.jpg">
	</div>
	<div class="htitle">
		<a href="home">首页</a>
	</div>
	<div class="htitle">
		<a href="home#productdes">产品介绍</a>
	</div>
	<div class="htitle">
		<a href="prize" target="blank">在线测试</a>
	</div>
	<div class="htitle">
		<a href="agent">代理合作</a>
	</div>
	<div>

		<c:choose>
			<c:when test="${not empty username}">
			<div>
			<div style="display:inline-block;"><img style="height:50px;width:50px;" class="brandus" src="images/22.JPG"></div>
			  <div class="example" style="display:inline-block;z-index:10;">
    <ul class="dnav">
        <li><a href="javascript:;">${username}</a>
            <ul class="subs">
                <li class="drtransition"><a href="javascript:;">用户中心</a></li>
                <li class="drtransition"><a href="javascript:;">退出</a></li>

            </ul>
        </li>
    </ul>
</div>
			</div>
			
            </c:when>
            <c:otherwise>
              <a href="javascript:;" id="toplogin" class="login loginnregisert">登陆</a>
		      <a href="javascript:;" id="topregister" class="login loginnregisert">注册</a>
            </c:otherwise>
		</c:choose>


	

	</div>
</header>